#!/bin/bash
#=======================
# Author : Ali Moradzade
# Created: 2022/01/09
#=======================

# testing signal trapping

trap "echo ' Sorry! I have trapped Ctrl-C'" SIGINT

echo This is a test script

count=1
while [ $count -le 10 ]
do
	echo "Loop #$count"
	sleep 1
	count=$[ $count + 1 ]
done

echo "This is the end of the test script"
